package org.cunamas.core.dto.mapper;

import java.sql.ResultSet;
import java.sql.SQLException;
import org.cunamas.core.dto.ReporteTotalMejDiagDto;
import org.springframework.jdbc.core.RowMapper;

public class ReporteTotalMejDiagMapper implements RowMapper<ReporteTotalMejDiagDto>{

	public ReporteTotalMejDiagDto mapRow(ResultSet rs, int rowNum)throws SQLException {
		ReporteTotalMejDiagDto dto = new ReporteTotalMejDiagDto();
		dto.setRdcNorm(rs.getInt(1));
		dto.setDcNorm(rs.getInt(2));
		dto.setDcRdc(rs.getInt(3));
		return dto;
	}

}
